package com.ruoyi.project.lely.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;


/**
 * 用户
 *
 * @author luoyong
 */
@Data
@ApiModel("用户 出参VO")
public class LyUserVO {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("性别：0 未知， 1男， 1 女")
    private Integer gender;

    @ApiModelProperty("生日")
    private LocalDate birthday;

    @ApiModelProperty("最近一次登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty("最近一次登录IP地址")
    private String lastLoginIp;

    @ApiModelProperty("用户层级 0 普通用户，1 VIP用户，2 区域代理用户")
    private Integer userLevel;

    @ApiModelProperty("用户昵称或网络名称")
    private String nickname;

    @ApiModelProperty("用户手机号码")
    private String mobile;

    @ApiModelProperty("用户头像图片")
    private String avatar;

    @ApiModelProperty("微信登录openid")
    private String weixinOpenid;

    @ApiModelProperty("0 可用, 1 禁用, 2 注销")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("ID")
    private Integer fraction;

}
